<%@page import="cn.sundat.model.Company"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个人中心页面</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/personalCenter.css">
</head>
<body>
<!------IE浏览器判断------>
<!--[if lt IE 9]>
<script type="text/javascript" src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js">
</script>
<![endif]-->
<!------导航------>
<jsp:include page="head.jsp"></jsp:include>

<!------主内容区------>
<div class="main">
    <div class="poistion">
        <h4 class="clearfix">
            <span class="icon icon1"></span><span> 首页 > 个人中心 > 基本信息</span>
        </h4>
    </div>
    <div id="aside">
        <div class="aside-title">
            <h3>个人中心</h3>
        </div>
        <div class="aside-content">
            <ul class="itemlist">
                <li class="item"><a href="personlCenter.jsp">基本信息</a><span class="icon2"></span></li>
                <li class="item"><a href="personalChange.jsp">修改信息</a><span class="icon2"></span></li>
                <li class="item"><a href="changePassword.jsp">修改密码</a><span class="icon2"></span></li>
                <li class="item"><a href="replacement.jsp">会员升级</a><span class="icon2"></span></li>
            </ul>
        </div>
    </div>
    <div class="modal" id="newsLis">
        <div id="newsList">
            <div class="newsList-content">
                <div class="newsList-title">
                    <h3 class="pull-left left">基本信息</h3>
                    <i></i>
                    <p style="line-height: 60px;font-size: 14px;color: #b15c35;text-align: right;"> * 以下信息由该企业提供，企业对其报送信息的真实性、合法性负责</p>
                    <h3 class="pull-right right"><a href="personalChange.jsp"><i class="changes"></i>修改</a></h3>
                </div>
                <div class="newList-main">
                    <p><strong>会员名称：</strong>${comp.comp_name }</p>
                    <p><strong>企业代码：</strong>${comp.comp_code }</p>
                    <p><strong>企业级别：</strong>${comp.comp_level==1?"会长":comp.comp_level==2?"常务理事":comp.comp_level==3?"理事":"会员" }	
		    </p>
                    <p><strong>联系电话：</strong>${comp.profile.pro_phone }</p>
                    <p><strong>电子邮箱：</strong>${comp.profile.pro_email }</p>
                    <p><strong>企业地址：</strong>${comp.profile.pro_address }</p>
                    <div class="txt">
                        <strong>经营范围：</strong>
                        <p>${comp.profile.pro_scope }</p>
                    </div>
                    <div class="txt">
                    <strong>企业简介：</strong>
                   
                        <p>${comp.profile.pro_intro }</p>
                    </div>
                    <div class="certificate">
                        <strong>荣誉证书：</strong>
                        <c:set var="string1" value="${comp.profile.pro_honor }"/>
                        <c:set var="string2" value="${fn:split(string1,', ') }"/>
                        
                        <ul class="clearfix">
	                        <c:forEach items="${string2 }" var="ss">
	                        	<li><img src='upload/companyinfo/${ss }'> </li>
	                        </c:forEach>
                        </ul>
                    </div>
                    <div class="code">
                        <div class="code-head">
                            <img src="images/code.png" alt="扫一扫">
                        </div>
                        <div class="codes">
                            <img src="/xjeca/upload/companyinfo/${comp.profile.pro_qrcode }" alt="二维码">
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<!------页脚------>
<jsp:include page="foot.jsp"></jsp:include>
<!------JS部分------>
</body>
</html>
